// import { TranslateService } from 'ng2-translate';
import { Component, ViewEncapsulation, OnInit, Input, OnChanges } from '@angular/core';
import { FormBuilder } from '@angular/forms';
import { ValidationService } from '../../../../framework';
import { GeneralServiceProvider } from './../../../../framework/data-provider/provider.general';
import { BaseLogin } from './../../login.baseComponent';
import { User, ILoginConfig } from './../../module/login.module';
import { BaseLoginService } from './../../login.baseService';
import { LoggerService } from './../../../../framework/logger/logger.service';
@Component({
    selector: 'dark-style',
    templateUrl: 'dark.component.html',
    styleUrls: ['./dark.component.scss'],
    providers: [LoggerService],
    encapsulation: ViewEncapsulation.None,
})
export class DarkComponent extends BaseLogin implements OnChanges, OnInit {
    @Input() loginConfig: ILoginConfig;
    constructor(baseLoginService: BaseLoginService,fb: FormBuilder,_mock:GeneralServiceProvider,_logger:LoggerService,_validate:ValidationService) {
        super(baseLoginService, fb, _mock,_logger,_validate);
    }
    ngOnChanges() {
        this.baseOnChanges();
    }
    onSubmit() {
        this.baseOnSubmit();
    }
    ngOnInit() {
        this.baseOnInit()
    }
    changeLanguage(e) {
        this.baseChangeLanguage(e);
    }
}

